//导入request
import request from "../utils/request";
//会员列表
export const memberList = (params) => request.get("/api/member", { params });
//新增会员卡
export const addUser = (data) => request.post("/api/member", data);
//绑定会员卡
export const bindCard = (data) => request.post("/api/bind_card", data);
//获取价格
export const getPrice = (params) => request.get("/api/price", { params });
//获取场馆
export const GetStadium = (params) => request.get("/api/stadium", { params });
//运动场地
export const GetFields = (params) => request.get("/api/fields", { params });
//删除场馆
export const DelStadium = id => request.delete("/api/stadium/"+id);



